home *** CD-ROM | disk | FTP | other *** search
- /* WIDE AREA INFORMATION SERVER SOFTWARE:
- No guarantees or restrictions. See the readme file for the full standard
- disclaimer.
-
- This is part of the shell user-interface for the WAIS software. Do with it
- as you please.
-
- jonathan@Think.COM
-
- * $Log: util.h,v $
- * Revision 1.6 92/04/28 15:32:11 jonathan
- * Modified prototypes for new functionality.
- *
- * Revision 1.5 92/03/23 16:10:14 jonathan
- * Nothing much.
- *
- * Revision 1.4 92/03/17 14:19:26 jonathan
- * fixed header
- *
- */
-
- #ifndef _H_UTIL
- #define _H_UTIL
-
- int get_selected_item _AP((Widget w));
- int listlength _AP((List list));
- int charlistlength _AP((char **list));
- void PrintStatusW _AP((char * str,Widget w));
- void PrintStatus _AP((char* str));
- void XwaisPrintf _AP((char * str));
- void ReplaceText _AP((Widget w,char * str));
- Widget MakeCommandButton _AP((Widget box,char* name,XtCallbackProc function,
- Widget vlink,Widget hlink,caddr_t data));
- Widget MakeListWidget _AP((Widget parent,String name,char **list,
- XtCallbackProc callback,Widget vlink,Widget hlink));
- void RebuildListWidget _AP((ScrollList s,String *list));
- ScrollList MakeScrollList _AP((Widget parent,String name,String* items,
- XtCallbackProc callback,
- Widget vlink,Widget hlink));
- Widget MakeStringBox _AP((Widget parent,String name,String string,
- Widget vlink,Widget hlink));
- String GetString _AP((Widget w));
- Widget MakeLabel _AP((Widget parent,char* name,char* label,
- Widget vlink,Widget hlink));
- int find_string_slot _AP((char* source,char* key,char* value,
- long value_size, boolean delete_internal_quotes));
- void find_value _AP((char* source,char* key,char* value, int value_size));
- void SortSources _AP((void));
- char* get_filename _AP((char* name));
- void Feep _AP((void));
- char** GetDirNames _AP((char* directory));
- #endif
-